package com.zhiyou.app.shop.website.dao.pojo;

import java.math.BigDecimal;



/**
 * UserAccount entity. @author MyEclipse Persistence Tools
 */

public class UserAccount implements java.io.Serializable {

	// Fields

	private String id;
	private String userId;
	private BigDecimal activMoney;//激活豆
	private BigDecimal bonusMoney;//奖金豆
	private BigDecimal stockMoney;  //股金
	private BigDecimal consumerMoney; //重消
	private BigDecimal lotteryBalance; //彩票
	private BigDecimal additionMoney;  //加单   VV  附属
	private BigDecimal recommendMoney; // 爱心基金   新加的
	private Integer stockNum;  // 股票数量 股票可交易持有数量
	private Integer stockSaleNum;  //卖出挂牌数量
	private Integer stockBuyNum;  //买入挂牌数量

	// Constructors

	/** default constructor */
	public UserAccount() {
	}

	/** full constructor */
	public UserAccount(String userId, BigDecimal activMoney, BigDecimal bonusMoney,
			BigDecimal stockMoney, BigDecimal consumerMoney, BigDecimal lotteryBalance,
			BigDecimal additionMoney, BigDecimal recommendMoney, Integer stockNum, Integer stockSaleNum, Integer stockBuyNum) {
		this.userId = userId;
		this.activMoney = activMoney;
		this.bonusMoney = bonusMoney;
		this.stockMoney = stockMoney;
		this.consumerMoney = consumerMoney;
		this.lotteryBalance = lotteryBalance;
		this.additionMoney = additionMoney;
		this.recommendMoney = recommendMoney;
		this.stockNum = stockNum;
		this.stockSaleNum = stockSaleNum;
		this.stockBuyNum = stockBuyNum;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public BigDecimal getActivMoney() {
		return activMoney;
	}

	public void setActivMoney(BigDecimal activMoney) {
		this.activMoney = activMoney;
	}

	public BigDecimal getBonusMoney() {
		return bonusMoney;
	}

	public void setBonusMoney(BigDecimal bonusMoney) {
		this.bonusMoney = bonusMoney;
	}

	public BigDecimal getStockMoney() {
		return stockMoney;
	}

	public void setStockMoney(BigDecimal stockMoney) {
		this.stockMoney = stockMoney;
	}

	public BigDecimal getConsumerMoney() {
		return consumerMoney;
	}

	public void setConsumerMoney(BigDecimal consumerMoney) {
		this.consumerMoney = consumerMoney;
	}

	public BigDecimal getLotteryBalance() {
		return lotteryBalance;
	}

	public void setLotteryBalance(BigDecimal lotteryBalance) {
		this.lotteryBalance = lotteryBalance;
	}

	public BigDecimal getAdditionMoney() {
		return additionMoney;
	}

	public void setAdditionMoney(BigDecimal additionMoney) {
		this.additionMoney = additionMoney;
	}

	public BigDecimal getRecommendMoney() {
		return recommendMoney;
	}

	public void setRecommendMoney(BigDecimal recommendMoney) {
		this.recommendMoney = recommendMoney;
	}

	public Integer getStockNum() {
		return stockNum;
	}

	public void setStockNum(Integer stockNum) {
		this.stockNum = stockNum;
	}

	public Integer getStockSaleNum() {
		return stockSaleNum;
	}

	public void setStockSaleNum(Integer stockSaleNum) {
		this.stockSaleNum = stockSaleNum;
	}

	public Integer getStockBuyNum() {
		return stockBuyNum;
	}

	public void setStockBuyNum(Integer stockBuyNum) {
		this.stockBuyNum = stockBuyNum;
	}
	
}